home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / networking / 2777 < prev    next >
Encoding:
Text File  |  1996-08-05  |  6.4 KB  |  136 lines

  1. Newsgroups: comp.sys.amiga.networking,comp.sys.amiga.applications
  2. Path: unicorn.it.wsu.edu!i9566249
  3. From: i9566249@unicorn.it.wsu.edu (Brian Mcewen)
  4. Subject: GPFax front end to CNet? HOW?
  5. Summary: I need to get GPFax as front-end for CNet, using AREXX.
  6. Sender: news@serval.net.wsu.edu (News)
  7. Message-ID: <DooIGn.EJM@serval.net.wsu.edu>
  8. Date: Fri, 22 Mar 1996 17:12:22 GMT
  9. Organization: Washington State University
  10. X-Newsreader: TIN [version 1.2 PL2]
  11.  
  12.  
  13.  
  14.     Hi, I'm still trying to get GPFax and CNet talking.  I've just about
  15. decided that either GPFax or CNet is broken, and will never trade control 
  16. of the serial port between them.
  17.     Following find the datacall.gpf script I'm running ( it's the
  18. gpfax_cnet.lha from Future World, but seems old).  I've tried it both
  19. untouched, and modified to what I think it should look like, with equal  
  20. results <carrier drop>.  Datacall.gpf gets run by GPFax when a datacall 
  21. is detected, and is supposed to xfer control to CNet.  The original 
  22. author xferred call to CNet port 0.  I thought this was silly, but get 
  23. the same carrier drop whether I call port 0 or port 1.  
  24.  
  25.     What I think is happening, is that the xfer can't go, since I've
  26. got a 14.4 modem, serial port (duart.device) can only be set to 9600 or 19200.
  27. GPFax will not run correctly if you send both the DTE and DCE to it ( manual
  28. even says so) and you have to send DTE ( modem-computer) speed, which is 19200
  29. ( or 9600 I suppose if I wanted to do that :). Regardless, since most people
  30. call at 14.4, the connect baudrate is never going to be equal to the DTE, 
  31. unless I lock everything at 2400 baud all the way around.  I could be totally
  32. wrong though.
  33.  
  34.     Anyone see any syntax errors that could be killing the script?
  35. Once I made a "unmatched quote" error appear in the line with the baudrate
  36. command.  But there's no quotes in the whole darn script until the bbswake
  37. command.....
  38. Is it just a syntax error that I don't see, killing the whole thing?
  39.  
  40. Anyway I REALLY could use help on this.
  41. ----------------------------------------------------------
  42.     DATACALL.GPF
  43. ----------------------------------------------------------
  44. /*     An ARexx script called DataCall.gpf --
  45.        To run GPFax as the system front end for CNet.
  46.        Written by Joe Maulucci as FREEWARE
  47.        Accadia BBS 716 882 1774
  48.        also via CIS 70702,230, Future World, & Portal
  49.        This script looks at GPFax Unit 0 & CNet Port 0
  50. New SYSOPs: You should first start CNet and make sure that Port 0
  51.             is set for "OFFLINE" then start GPFax (as System Front End).
  52.             (or See CNet_Startup.rexx, part of this d/l)
  53.             GPFax settings for Supra 14,400
  54.  
  55. (I use equivalent setting for my MFCIII and Zoom 14.4 modem -brian)
  56.             ENVIRONMENT:
  57.                          Device = Serial.device
  58.                          Unit = 0
  59.                          Shared = checked
  60.                          Modem Init = AAT &F2 E0
  61.             OPTIONS:
  62.                          FAX/DATA
  63.                          AutoANSWER
  64.                          Arexx Data
  65. As of June 13, 1994
  66. I am a New Sysop running one modem and 
  67. am still working with the Modem Init.
  68. Also you need to delete the GPFax's DataMessage.txt, if you
  69.  do not want that message sent. */
  70.  
  71. options results
  72. address rexx_gpfax    /* Get baudrate from GPFax & Release Line*/
  73. baudrate
  74. A=result
  75. unlisten
  76. /* CNet port 0 takes over line  (DO NOT USE 'RUN' HERE) */
  77.  
  78. address command "CNet:bbswake port 1 baud "a" lock "a"
  79. address rexx_gpfax  /* Return control to GPFax */
  80. listen
  81. /*end*/
  82.  
  83. ---------------------------------------------------------------------------
  84.             SNOOPDOS LOG OF A DATA CALL
  85. ---------------------------------------------------------------------------
  86. Count Process Name       Action     Target Name                 Options Res.
  87. ----- ------------       ------     -----------                 ------- ----
  88.  
  89.             <makes beep>
  90.  
  91. 23    ½ IPrefs ╗         OpenDev    timer.device                Unit 0  OK  
  92. 24    ½ IPrefs ╗         OpenDev    timer.device                Unit 0  OK  
  93. 25    ½ IPrefs ╗         OpenDev    timer.device                Unit 0  OK  
  94. 26    [11] gpfax:gpfax   Open       GPFAX:DataMessage.TXT       Read    OK  
  95.  
  96. (sends the "data call detected" message to caller- TWICE for some reason)
  97.  
  98. 27    [11] gpfax:gpfax   FindPort   REXX                                OK  
  99. 28    RPControl          ChangeDir  DH0:                                    
  100. 29    RPControl          Lock       DH0:DataCall.GPF            Read    OK  
  101. 30    RPControl          Load       DH0:DataCall.GPF                    Fail
  102. 31    RPControl          ChangeDir  DH0:                                    
  103. 32    ARexx              OpenLib    mathieeedoubbas.library     Ver 0   OK  
  104. 33    ARexx              Lock       DH0:                        Read    OK  
  105. 34    ARexx              Lock       DH0:DataCall.GPF            Read    OK  
  106. 35    ARexx              Open       DH0:DataCall.GPF            Read    OK  
  107. 36    [11] gpfax:gpfax   OpenDev    duart.device                Unit 0  OK  
  108. 37    [11] gpfax:gpfax   OpenLib    mathffp.library             Ver 0   OK  
  109. 38    [11] gpfax:gpfax   OpenDev    timer.device                Unit 4  OK  
  110. 39    [11] gpfax:gpfax   Open       ENV:bsc/duart/Unit0         Read    OK  
  111. 40    [11] gpfax:gpfax   OpenDev    timer.device                Unit 0  OK  
  112.  
  113.     ( Hangup is at #35 or #36)
  114.     ( GPfax goes back online for next call)
  115.     ( doesn't  matter if I have the rpstart program running, 
  116.           or just rexxmast)
  117. ---------------------------------------------------------------------------
  118. ---------------------------------------------------------------------------
  119. Ideas most gratefully welcomed.
  120.  
  121. I looked at JamMail, but I only want fax/data detection, and the docs don't
  122. go into that much/at all.  Although there seems to be a way to do it, and 
  123. I'm talking to people about it, the 2 programs I've already got ( GPFax 
  124. and CNET) LOOK like they should work together to do what I want....
  125.  
  126. --
  127. +--------------------------------------------------------------------+
  128. |"Information is pretty thin stuff,          Brian McEwen            |
  129. |  unless mixed with experience"             bmcewen@wsu.edu         |
  130. |    -Clarence Day                           i9566249@wsunix.wsu.edu |
  131. |                http://www.wsu.edu:8080/~i9566249/                  |
  132. |  * Remember, what PCs are doing today the Amiga was doing in 1985* |
  133. |  * (except for a few things, and the PC's will do those soon..)  * |
  134. +--------------------------------------------------------------------+
  135.  
  136.